a71015203b611719e4b512ab261ac3ba26eecc23,src/org/opencms/xml/sitemap/CmsXmlSitemapFactory.java,CmsXmlSitemapFactory,setCache,#CmsObject#CmsXmlSitemap#boolean#,409

Before Change


        }
        boolean online = cms.getRequestContext().currentProject().isOnlineProject();
        m_cache.setDocument(
            m_cache.getCacheKey(xmlSitemap.getFile().getStructureId(), keepEncoding),
            xmlSitemap,
            online);
    }

After Change


        }
        boolean online = cms.getRequestContext().currentProject().isOnlineProject();
        CmsSitemapXmlCache cache = OpenCms.getSitemapManager().getSitemapXmlCache(online);
        String key = cache.getCacheKey(xmlSitemap.getFile().getStructureId(), keepEncoding);
        cache.setDocument(key, xmlSitemap);
    }
}